package org.yty.travelagencymongodb.repository;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.yty.travelagencymongodb.model.Entity.ChatGroupMember;

public interface ChatGroupMemberRepository extends MongoRepository<ChatGroupMember,Long> {
    void deleteByChatGroupIdAndChatUserId(String chatGroupId, String chatUserId);

    void deleteByChatGroupId(String chatGroupId);

    void deleteByChatUserId(String chatUserId);
}
